import matplotlib.pyplot as plt
score = [97,84,85,42,42,41,55,67,98,96,76,54,31,67,98,9,7,56,45,34,75,86,45,57,54,33,11,110,160,13,15,144,66,136,133,]
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.xlabel('分数')
plt.ylabel('学生数量')
plt.title('学生语文成绩分布直方图')
plt.hist(score,bins=range(0,200,10), facecolor='blue',edgecolor='red')
plt.show()